#include "NewImageDialog.h"
#include "ui_newimagedialog.h"

NewImageDialog::NewImageDialog(QWidget *parent) :
    QDialog(parent),
	ui(new Ui::NewImageDialog)
{
    ui->setupUi(this);
}

NewImageDialog::~NewImageDialog()
{
    delete ui;
}
QSize* NewImageDialog::getNewSize(){
	return new QSize(getNewWidth(), getNewHeight());

}
int NewImageDialog::getNewHeight()
{
	return ui->imageHeight->text().toInt();
}

int NewImageDialog::getNewWidth()
{
	return ui->imageWidth->text().toInt();
}